﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Project.DTO;

namespace Project.BUS
{
    public class videoBUS
    {
        public static Boolean insertNewAVideo(videoDTO vdn) {
            return DAO.videoDAO.insertNewAVideo(vdn);
        }

        public static videoDTO[] getAllVideo()
        {
            return DAO.videoDAO.getAllVideo();
        }

         //get a video 
        public static videoDTO getAVideo(int idvideo) {
            return DAO.videoDAO.getAVideo(idvideo);
        }
    }
}